import axios from 'axios'
const axiosBaseQuery = ({ baseUrl }) => {
    return ({ url, method, data }) => {
        return axios({
            url: baseUrl + url,
            method,
            data
        })
    }
}
export default axiosBaseQuery
//封装axios查询器
